﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CreateOM.aspx.cs" Inherits="DATN.mds.OpportunityManagement.CreateOM" MasterPageFile="~/InternalSite.Master"%>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>



<asp:Content ID="Content3" ContentPlaceHolderID="MainContent3" runat="server">
    <head id="Head5" runat="server"/>
    <br />
    Tên Cơ Hội:<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
    <asp:RequiredFieldValidator ID="Name_requier" runat="server" ControlToValidate="TextBox1"
    ErrorMessage="Xin Nh&#7853;p Tên Cho C&#417; H&#7897;i!"></asp:RequiredFieldValidator>
    
    <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" EnableHistory="True"
     EnablePageMethods="True" EnableScriptGlobalization="True"></asp:ToolkitScriptManager>

       
    <br />

    Ngày Bắt Đầu:<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
     <asp:CalendarExtender ID="Cal_2" runat="server" TargetControlID="TextBox2"
     Format="dd/MM/yyyy" DaysModeTitleFormat="dddd dd/MM/yyyy" TodaysDateFormat="dddd dd/MM/yyyy">
     </asp:CalendarExtender>
    
    <asp:CompareValidator ID="CompareValidator1" runat="server" ErrorMessage="Xin Nh&#7853;p L&#7841;i Ngày"
    ControlToValidate="TextBox2" Operator="DataTypeCheck" Type="Date">
    </asp:CompareValidator>
    
    <asp:RequiredFieldValidator ID="rqu_2" runat="server" ControlToValidate="TextBox2"
    ErrorMessage="Xin Nhập Ngày vào">
    </asp:RequiredFieldValidator>

    <br />

    Ngày Kết Thúc:<asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
     <asp:CalendarExtender ID="Cal_3" runat="server" TargetControlID="TextBox3"
     Format="dd/MM/yyyy" DaysModeTitleFormat="dddd dd/MM/yyyy" TodaysDateFormat="dddd dd/MM/yyyy">
     </asp:CalendarExtender>
    
     <asp:CompareValidator ID="CompareValidator2" runat="server" ErrorMessage="Xin Nh&#7853;p L&#7841;i Ngày"
    ControlToValidate="TextBox3" Operator="DataTypeCheck" Type="Date">
    </asp:CompareValidator>
    
    <asp:CompareValidator ID="CompareValidator5" runat="server" 
        ControlToCompare="TextBox2" ControlToValidate="TextBox3" 
        ErrorMessage="Xin Ki&#7875;m Tra L&#7841;i Th&#7901;i Gian" Operator="GreaterThan" Type="Date">
        </asp:CompareValidator>
    
    <br />

    Ngày Tạo:<asp:TextBox ID="TextBox4" runat="server"></asp:TextBox>

    <asp:CalendarExtender ID="Cal_1" runat="server" TargetControlID="TextBox4"
     Format="dd/MM/yyyy" DaysModeTitleFormat="dddd dd/MM/yyyy" TodaysDateFormat="dddd dd/MM/yyyy">
     </asp:CalendarExtender>
    
     <asp:CompareValidator ID="CompareValidator3" runat="server" ErrorMessage="Xin Nh&#7853;p L&#7841;i Ngày"
    ControlToValidate="TextBox3" Operator="DataTypeCheck" Type="Date">
    </asp:CompareValidator>

        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox4"
    ErrorMessage="Xin Nhập Ngày vào">
    </asp:RequiredFieldValidator>


    <br />
    Tình Trạng:<asp:DropDownList ID="Drop_dow5" runat="server"  >
        <asp:ListItem>&#272;ang Ch&#7901;</asp:ListItem>
        <asp:ListItem>&#272;ang Ti&#7871;n Hành</asp:ListItem>
        <asp:ListItem>&#272;ã &#272;óng</asp:ListItem>
    </asp:DropDownList>
    <br />
    Vốn Dự Tính:<asp:TextBox ID="TextBox6" runat="server"></asp:TextBox>

    <asp:CompareValidator ID="Compare_EF" runat="server" ControlToValidate="TextBox6"
    Type="Currency" Operator="DataTypeCheck" ErrorMessage="Xin nhập lại giá trị!"> 
    </asp:CompareValidator>

    <br />
    Lãi Dự Tính:<asp:TextBox ID="TextBox7" runat="server"></asp:TextBox>
    <asp:CompareValidator ID="CompareValidator4" runat="server" ControlToValidate="TextBox7"
    Type="Currency" Operator="DataTypeCheck" ErrorMessage="Xin nhập lại giá trị!"> 
    </asp:CompareValidator>

    <br />

    <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Creat" 
        Width="55px" />
&nbsp;
</asp:Content>
